package top.zlcode.friend.service.exam;

import com.baomidou.mybatisplus.extension.service.IService;
import top.zlcode.common.core.domain.TableDataInfo;
import top.zlcode.friend.domain.exam.Exam;
import top.zlcode.friend.domain.exam.dto.ExamQueryDTO;
import top.zlcode.friend.domain.exam.dto.ExamRankDTO;
import top.zlcode.friend.domain.exam.vo.ExamDetailVO;


public interface IExamService extends IService<Exam> {

    TableDataInfo queryPage(ExamQueryDTO examQueryDTO);

    String getFirstQuestion(Long examId);

    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);

    ExamDetailVO detail(Long examId);

    TableDataInfo rankList(ExamRankDTO examRankDTO);
}
